package com.lz.service.fsh;

import java.util.List;
import java.util.Map;

import com.lz.entity.*;
import com.lz.repository.fsh.vo.InsuranceSheetVo;

public interface InsuranceSheetService {
	
	//查询所有车险蛋
	List<InsuranceSheetVo> getAlllist();
	
	List<Car> getAlllist1();
	
	//添加车险单
	Integer addInsuranceSheet(InsuranceSheet insuranceSheet, Customer customer, Car car, Employee emloyee);

    //条件查询
	List<InsuranceSheetVo> selectInsuranceSheet(InsuranceSheetVo insuranceSheetVo, Integer patgeNo, Integer pageSize);
	//得到订单总条数
	Integer rowsInsuranceSheet(InsuranceSheetVo insuranceSheetVo);

     Integer rowsInsuranceSheet2(Map map);

    //条件查询2
     List <InsuranceSheet> selectIns(Integer patgeNo, Integer pageSize,Map map);
    //删除数据
	Integer delInsuranceSheet(InsuranceSheet insuranceSheet);

	//根据订单id查询到对应订单
	Map<String,Object> findByInsuranceSheet(Integer insuranceSheetNo);

	//根据传入得值进行修改

	void changeinsurancesheet(InsuranceSheetVo insuranceSheetVo);
	//修改
	void changeins(InsuranceSheetVo insuranceSheetVo);

	//审核订单状态
	void changeinsstste(InsuranceSheetVo insuranceSheetVo);

	//最大id
	Integer getMaxPrimaryKey();
}
